<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>Cadastro - SAA</title>
    </h:head>
    <h:body>
        <h:link value="Página Inicial" outcome="index.xhtml" />
        <br />
        <h:form title="Cadastro" id="cadastro" >
            <h:message for="emailJaExistente" />
            <h:outputLabel for="nome" value="Nome:"/>
            <h:inputText id="nome" value="#{login.nome}" />
            <h:outputLabel for="email" value="Email:"/>
            <h:inputText id="email" value="#{login.email}" />
            <h:outputLabel for="senha" value="Senha:"/>
            <h:inputSecret id="senha" value="#{login.senha}" />
            <h:commandButton value="Cadastrar" action="#{login.cadastrar()}" />
        </h:form>
    </h:body>
</html>

